package com.croofr.utils.exceptions.configuration;

import com.croofr.global.exceptions.CroofrException;

/**
 * Exception for throw in using of Configuration.
 * <p/>
 * User: bednar<br/>
 * Date: Jan 24, 2010<br/>
 * Time: 3:01:16 PM
 *
 * @see com.croofr.utils.configuration.Configuration
 */
public class ConfigurationException extends CroofrException
{
    /**
     * ConfigurationException constructor with errorKey.
     * ErrorKey may be used to get localized message from
     * property file.
     *
     * @param errorKey to property file
     */
    public ConfigurationException(String errorKey)
    {
        super(errorKey);
    }

    /**
     * ConfigurationException constructor with nested
     * exception.
     *
     * @param exception nested exception
     */
    public ConfigurationException(Exception exception)
    {
        super(exception);
    }
}
